<template>
    <a-table :columns="columns" :data-source="data" @resizeColumn="handleResizeColumn" :pagination="pagination">
       <!-- <v-slot:emptyText>
        数据为空
       </v-slot:emptyText> -->
       <!-- <template #emptyText>
        数据是空的
       </template> -->
    </a-table>
</template>

<script lang="ts">
export default {
    name: 'ImportRecordTable'
}
</script>
<script lang="ts" setup>
import { SmileOutlined, DownOutlined } from '@ant-design/icons-vue';
import type { TableColumnsType } from 'ant-design-vue';
import { defineComponent, ref } from 'vue';

const props = defineProps({
    columns: [] as any[],
    data: [] as any[],
    pagination: {} as any,

});
const handleResizeColumn = (w: any, col: any) => {
    col.width = w;
};
</script>